﻿using Majoopic.DataAccess.Service;

namespace Majoopic.DataAccess.SQL
{
    /// <summary>
    /// Factory of services to access the database
    /// </summary>
    public class DataAccessSQLFactory : DataAccessAbstractFactory
    {
        /// <summary>
        /// Constructor
        /// </summary>
        public DataAccessSQLFactory()
        {

        }

        /// <summary>
        /// Get the picture service to access of a sql database
        /// </summary>
        /// <returns></returns>
        public override IPictureAccess GetPictureService()
        {
            return new PictureSQLAccess();
        }
    }
}
